import axios from '../utils/request';

export const classification = () => axios({
    url: "/shopping/v2/restaurant/category"
})
export const sanpuliebiao = () => axios({
    url: "/shopping/v1/restaurants/activity_attributes",
})
export const peisonfanshi = () => axios({
    url: '/shopping/v1/restaurants/delivery_modes'
})
export const cangdu = data => axios({
    url: '/v2/login',
    method: "post",
    data
})
export const productlist = params => axios({
    url: "/shopping/restaurants",
    params
})
export const user = id => axios({
    url: "/v1/user/" + id
})
